package com.sservice.urp.vo;


import com.sservice.urp.entity.Permission;
import com.sservice.urp.entity.Role;
import lombok.Data;

import java.util.List;

/**
 * Created by suweiming on 2017/12/20.
 */
@Data
public class PermissionVo extends Permission {

    /***
     * 当前页
     */
    private int page = 0;


    /**
     * 每页显示数量
     */
    private int size = 15;
    /**
     * 查询关键字
     */
    private String keyword;
    /**
     * 排序字段名
     */
    private String sortField;
    /***
     * 升序，降序
     */
    private String sortOrder; //DESC ,ASC

    private List<Role> roles;
//    private List<Permission> permissions;
    /**
     * 短信验证码
     */
    private String code;
    /**
     * 图片验证码
     */
    private String imgCode;


}
